import request from "@/utils/request";

const baseUrl = '/manage/label'
// 新增
export function save(data) {
  return request({
    url: baseUrl + "/save",
    method: "post",
    data
  })
}
// 查询
export function getAll(params) {
  return request({
    url: baseUrl + "/getAll",
    method: "get",
    params
  })
}
// 删除
export function deleteList(id) {
  return request({
    url: `${baseUrl}/delete/${id}`,
    method: "post"
  })
}